*{
  box-sizing: border-box;
}
body {
  min-width: 320px;
  max-width: 540px;
  margin: 0 auto;
  color: black;
  background-color: #f2f2f2;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #222;
  text-decoration: none;
}

.search {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  background-color: white;
}

.my_photo {
  position: relative;
  width: 44px;
  height: 44px;
  font-size: 12px;
  color: #2eaae0;
  text-align: center;
}

.my_photo::before {
  content: "";
  display: block;
  margin: 4px auto 2px;
  width: 23px;
  height: 23px;
  background: url("../images/sprite.png") no-repeat -59px -195px;
  background-size: 104px auto;
}

.search div:first-child {
  position: relative;
  flex: 1;
  height: 30px;
  margin: 0 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 5px 1px rgb(0, 0, 0, .2);
  font-size: 12px;
  color: #666666;
  line-height: 30px;
  padding-left: 25px;
}

.search div:first-child::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 15px;
  height: 15px;
  background: url("../images/sprite.png") no-repeat -59px -279px;
  background-size: 104px auto;
}

.foucus {
  height: 108px;
  width: 100%;
}

.focus img {
  width: 100%;
}



.t_nav {
  display: flex;
  margin: 3px 4px;
  height: 64px;
  background-color: white;
  border-radius: 8px;
}

.t_nav li {
  flex: 1;
}

.t_nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.t_nav_text {
  font-size: 12px;
  color: #222;
  margin-bottom: 3px;
}

.t_nav span:first-child {
  background: url("../images/localnav_bg.png") no-repeat 0 0;
  background-size: 32px auto;
  width: 32px;
  height: 32px;
  margin: 8px 0 3px;
}

.t_nav li:nth-child(2) span:first-child {
  background-position: 0 -32px;
}

.t_nav li:nth-child(3) span:first-child {
  background-position: 0 -64px;
}

.t_nav li:nth-child(4) span:first-child {
  background-position: 0 -96px;
}

.t_nav li:nth-child(5) span:first-child {
  background-position: 0 -128px;
}

.nav {
  margin: 4px 3px;
  border-radius: 8px;
  overflow: hidden;
}

.nav ul {
  display: flex;
  height: 88px;
  margin-top: 2px;
}

.nav ul:nth-child(1) {
  background-image: linear-gradient(to right, #fa5c55, #fa994e);
}

.nav ul:nth-child(2) {
  background-image: linear-gradient(to right, #4b91ed, #53bced);
}

.nav ul:nth-child(3) {
  background-image: linear-gradient(to right, #34c2a9, #6cd559);
}

.nav ul li {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nav ul li span {
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-left: 1px solid white;
  border-bottom: 1px solid white;
}

.nav ul li:first-child span:first-child {
  border: 0;

}

.nav ul li:first-child {
  background: url("../images/hotel.png") no-repeat;
  background-size: 121px auto;
  background-position: center bottom;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  border-radius: 8px;
  margin: 4px 3px;
  background-color: #fff;
  padding: 4px 0;
}

.subnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20%;
}

.subnav a span:first-child {
  width: 28px;
  height: 28px;
  margin: 4px 0 0;
  background: url("../images/subnav-bg.png") no-repeat 0 0;
  background-size: 28px auto;
}

.subnav a span:last-child {
  font-size: 14px;
  color: #222;
  line-height: 1.5;
}

.subnav a:nth-child(2) span:first-child {
  background-position: 0 -28px;
}

.subnav a:nth-child(3) span:first-child {
  background-position: 0 -65px;
}

.subnav a:nth-child(4) span:first-child {
  background-position: 0 -98px;
}

.subnav a:nth-child(5) span:first-child {
  background-position: 0 -128px;
}

.subnav a:nth-child(6) span:first-child {
  background-position: 0 -162px;
}

.subnav a:nth-child(7) span:first-child {
  background-position: 0 -195px;
}

.subnav a:nth-child(8) span:first-child {
  background-position: 0 -230px;
}

.subnav a:nth-child(9) span:first-child {
  background-position: 0 -260px;
}

.subnav a:nth-child(10) span:first-child {
  background-position: 0 -290px;
}

.s_tile {
  display: flex;
  justify-content: space-between;
  align-content: center;
  padding: 18px 0px;
  border-top:1px solid #bbb;
  border-bottom:1px solid #bbb;
  background-color: #fff;
}

.s_tile h2 {
  all: unset;
  display: block;
  position: relative;
  width: 80px;
  font-size: 20px;
  text-indent: -999px;
  overflow: hidden;
}

.s_tile h2::after {
  position: absolute;
  top:5px;
  left: 10px;
  content: "";
  background:url("../images/hot.png") no-repeat 0 -20px;
  background-size: 79px auto;
  height: 30px;
  width: 80px;
}
.s_tile a {
  position: relative;
  margin-right: 5px;
  padding: 0 20px 0 10px;
  border-radius: 20px;
  line-height: 30px;
  height: 30px;
  background-image: linear-gradient(to right ,#ff516e,#ff6ac4);
  color: white;
}
.s_tile a::after {
  position: absolute;
  top:50%;
  right: 8px;
  display: block;
  content: "";
  height: 8px;
  width: 8px;
  border-top: 2.5px solid white ;
  border-right:2.5px solid white;
  transform: translate(0,-50%) rotate(45deg);
}
.s_items{
  display: flex;
  flex-wrap: wrap;
  font-size: 0;
}
.s_items li{
  width: 50%;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.s_items img{
  max-width: 100%;  
}